using System.Runtime.Serialization;

namespace Director.DomainModels
{
	[DataContract]
	public abstract class Identifiable
	{
		[DataMember]
		public int Id { get; set; }

		[DataMember]
		public string Name { get; set; }

		public override string ToString()
		{
			return GetType().Name + " " + Id + " " + Name;
		}
	}
}